//
//  HAPIManager.h
//  Project
//
//  Created by 黄振 on 16/8/28.
//  Copyright © 2016年 黄振. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>
#import "HOwner.h"

static NSString * APIServerUrl = @"http://192.168.2.193/";
//static NSString * APIServerUrl = @"http://pyoa.hspcn.net/";
@interface HAPIManager : AFHTTPRequestOperationManager
@property (nonatomic, strong, readonly) HOwner *owner;
+ (instancetype)sharedInstance;
/**
 *  登录接口
 *
 *  @param account 账号
 *  @param password 密码
 *
 */
- (RACSignal *)userLoginWithAccount:(NSString *)account
                           password:(NSString *)password;


@end
